﻿using System;

namespace Restaurant.Model
{
    public class CompanyTable : BaseModel
    {
        public CompanyTable()
        { }
        #region Model
        private long _id;
        private Guid _tableid;
        private Guid _subcompany_id;
        private string _tablenum;
        private int? _peoplecount;
        private int _tabletype = 0;
        private string _remarks;
        private DateTime? _creationtime = DateTime.Now;
        private string _operator;
        private DateTime? _modificationtime;

        /// <summary>
        /// 
        /// </summary>
        public long Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 主键
        /// </summary>
        public Guid TableId
        {
            set { _tableid = value; }
            get { return _tableid; }
        }
        /// <summary>
        /// 关联公司
        /// </summary>
        public Guid SubCompany_Id
        {
            set { _subcompany_id = value; }
            get { return _subcompany_id; }
        }
        /// <summary>
        /// 桌号
        /// </summary>
        public string TableNum
        {
            set { _tablenum = value; }
            get { return _tablenum; }
        }
        /// <summary>
        /// 人数
        /// </summary>
        public int? PeopleCount
        {
            set { _peoplecount = value; }
            get { return _peoplecount; }
        }
        /// <summary>
        /// 0未使用1使用中2预定
        /// </summary>
        public int TableType
        {
            set { _tabletype = value; }
            get { return _tabletype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remarks
        {
            set { _remarks = value; }
            get { return _remarks; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreationTime
        {
            set { _creationtime = value; }
            get { return _creationtime; }
        }
        /// <summary>
        /// 操作人
        /// </summary>
        public string Operator
        {
            set { _operator = value; }
            get { return _operator; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModificationTime
        {
            set { _modificationtime = value; }
            get { return _modificationtime; }
        }

        #endregion Model
    }
}
